package xin.sunzy.spring.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * description:
 * email: <a href="sunzhenyu@terminus.io">孙振宇</a>
 * author: ginkgo
 * date: 2018-04-03 10:47:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 3233490682210293890L;

    /**
     * auto increment id
     */
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 版本号
     */
    private Long version;

    /**
     * created date
     */
    private Date createdAt;

    /**
     * last modified date
     */
    private Date updatedAt;

}
